import torch

# torch.random.manual_seed(100)
# data = torch.randn(2,3)
# # print(type(data))
# data_numpy =data.numpy().copy()
# print(type(data_numpy))
# print(data)
# data[0][1]= 100
# print(data)
# print(data_numpy)

# data_tensor =torch.from_numpy(data_numpy.copy())
# print(type(data_tensor))
# print(data_tensor)
# data_tensor[0][2]= 300
# print(data_tensor)
# print(data_numpy)

# data_tensor =torch.tensor(data_numpy)
# data_tensor[0][2]= 300
# print(data_tensor)
# print(data_numpy)

print(torch.tensor(30).item())
print(torch.tensor([30]).item())